reflect Pango API change
authorHans Breuer <hans@breuer.org>
Fri, 23 Nov 2001 16:05:39 +0000 (16:05 +0000)
committerHans Breuer <hans@src.gnome.org>
Fri, 23 Nov 2001 16:05:39 +0000 (16:05 +0000)
2001-11-23  Hans Breuer  <hans@breuer.org>

* gdk/win32/gdkfont-win32.c (gdk_font_from_description) :
reflect Pango API change

* gtk/gtk.def : updated externals

* gtk/gtkfixed.c (gtk_fixed_get_has_window) : use
g_return_val_if_fail() to avoid 'function must return a value'

* gtk/gtkrc.c : added spaces to fix small coding style issues
* gtk/gtkwidget.c : ... and linebreaks. Also a static for
'static correctness'

* gtk/makefile.msc.in : temporary(?) disable gtk<plug|socket>
because they only can be build on win32 after applying my patch

12 files changed:
ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gdk/win32/gdkfont-win32.c
gtk/gtk.def
gtk/gtkfixed.c
gtk/gtkrc.c
gtk/gtkwidget.c

index 77041cbcb434b035e49a436b3cebd062c0a66432..faaa368924dd3ad4a6c7b9e07fd452093d1a9966 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,20 @@
+2001-11-23  Hans Breuer  <hans@breuer.org>
+
+       * gdk/win32/gdkfont-win32.c (gdk_font_from_description) : 
+       reflect Pango API change
+
+       * gtk/gtk.def : updated externals
+
+       * gtk/gtkfixed.c (gtk_fixed_get_has_window) : use 
+       g_return_val_if_fail() to avoid 'function must return a value'
+
+       * gtk/gtkrc.c : added spaces to fix small coding style issues
+       * gtk/gtkwidget.c : ... and linebreaks. Also a static for
+       'static correctness'
+
+       * gtk/makefile.msc.in : temporary(?) disable gtk<plug|socket>
+       because they only can be build on win32 after applying my patch
+
 Wed Nov 21 22:55:37 2001  Tim Janik  <timj@gtk.org>
 
        * gtk/gtkbutton.c (gtk_button_map): raise event window afte
index 77041cbcb434b035e49a436b3cebd062c0a66432..faaa368924dd3ad4a6c7b9e07fd452093d1a9966 100644 (file)
@@ -1,3 +1,20 @@
+2001-11-23  Hans Breuer  <hans@breuer.org>
+
+       * gdk/win32/gdkfont-win32.c (gdk_font_from_description) : 
+       reflect Pango API change
+
+       * gtk/gtk.def : updated externals
+
+       * gtk/gtkfixed.c (gtk_fixed_get_has_window) : use 
+       g_return_val_if_fail() to avoid 'function must return a value'
+
+       * gtk/gtkrc.c : added spaces to fix small coding style issues
+       * gtk/gtkwidget.c : ... and linebreaks. Also a static for
+       'static correctness'
+
+       * gtk/makefile.msc.in : temporary(?) disable gtk<plug|socket>
+       because they only can be build on win32 after applying my patch
+
 Wed Nov 21 22:55:37 2001  Tim Janik  <timj@gtk.org>
 
        * gtk/gtkbutton.c (gtk_button_map): raise event window afte
index 77041cbcb434b035e49a436b3cebd062c0a66432..faaa368924dd3ad4a6c7b9e07fd452093d1a9966 100644 (file)
@@ -1,3 +1,20 @@
+2001-11-23  Hans Breuer  <hans@breuer.org>
+
+       * gdk/win32/gdkfont-win32.c (gdk_font_from_description) : 
+       reflect Pango API change
+
+       * gtk/gtk.def : updated externals
+
+       * gtk/gtkfixed.c (gtk_fixed_get_has_window) : use 
+       g_return_val_if_fail() to avoid 'function must return a value'
+
+       * gtk/gtkrc.c : added spaces to fix small coding style issues
+       * gtk/gtkwidget.c : ... and linebreaks. Also a static for
+       'static correctness'
+
+       * gtk/makefile.msc.in : temporary(?) disable gtk<plug|socket>
+       because they only can be build on win32 after applying my patch
+
 Wed Nov 21 22:55:37 2001  Tim Janik  <timj@gtk.org>
 
        * gtk/gtkbutton.c (gtk_button_map): raise event window afte
index 77041cbcb434b035e49a436b3cebd062c0a66432..faaa368924dd3ad4a6c7b9e07fd452093d1a9966 100644 (file)
@@ -1,3 +1,20 @@
+2001-11-23  Hans Breuer  <hans@breuer.org>
+
+       * gdk/win32/gdkfont-win32.c (gdk_font_from_description) : 
+       reflect Pango API change
+
+       * gtk/gtk.def : updated externals
+
+       * gtk/gtkfixed.c (gtk_fixed_get_has_window) : use 
+       g_return_val_if_fail() to avoid 'function must return a value'
+
+       * gtk/gtkrc.c : added spaces to fix small coding style issues
+       * gtk/gtkwidget.c : ... and linebreaks. Also a static for
+       'static correctness'
+
+       * gtk/makefile.msc.in : temporary(?) disable gtk<plug|socket>
+       because they only can be build on win32 after applying my patch
+
 Wed Nov 21 22:55:37 2001  Tim Janik  <timj@gtk.org>
 
        * gtk/gtkbutton.c (gtk_button_map): raise event window afte
index 77041cbcb434b035e49a436b3cebd062c0a66432..faaa368924dd3ad4a6c7b9e07fd452093d1a9966 100644 (file)
@@ -1,3 +1,20 @@
+2001-11-23  Hans Breuer  <hans@breuer.org>
+
+       * gdk/win32/gdkfont-win32.c (gdk_font_from_description) : 
+       reflect Pango API change
+
+       * gtk/gtk.def : updated externals
+
+       * gtk/gtkfixed.c (gtk_fixed_get_has_window) : use 
+       g_return_val_if_fail() to avoid 'function must return a value'
+
+       * gtk/gtkrc.c : added spaces to fix small coding style issues
+       * gtk/gtkwidget.c : ... and linebreaks. Also a static for
+       'static correctness'
+
+       * gtk/makefile.msc.in : temporary(?) disable gtk<plug|socket>
+       because they only can be build on win32 after applying my patch
+
 Wed Nov 21 22:55:37 2001  Tim Janik  <timj@gtk.org>
 
        * gtk/gtkbutton.c (gtk_button_map): raise event window afte
index 77041cbcb434b035e49a436b3cebd062c0a66432..faaa368924dd3ad4a6c7b9e07fd452093d1a9966 100644 (file)
@@ -1,3 +1,20 @@
+2001-11-23  Hans Breuer  <hans@breuer.org>
+
+       * gdk/win32/gdkfont-win32.c (gdk_font_from_description) : 
+       reflect Pango API change
+
+       * gtk/gtk.def : updated externals
+
+       * gtk/gtkfixed.c (gtk_fixed_get_has_window) : use 
+       g_return_val_if_fail() to avoid 'function must return a value'
+
+       * gtk/gtkrc.c : added spaces to fix small coding style issues
+       * gtk/gtkwidget.c : ... and linebreaks. Also a static for
+       'static correctness'
+
+       * gtk/makefile.msc.in : temporary(?) disable gtk<plug|socket>
+       because they only can be build on win32 after applying my patch
+
 Wed Nov 21 22:55:37 2001  Tim Janik  <timj@gtk.org>
 
        * gtk/gtkbutton.c (gtk_button_map): raise event window afte
index 77041cbcb434b035e49a436b3cebd062c0a66432..faaa368924dd3ad4a6c7b9e07fd452093d1a9966 100644 (file)
@@ -1,3 +1,20 @@
+2001-11-23  Hans Breuer  <hans@breuer.org>
+
+       * gdk/win32/gdkfont-win32.c (gdk_font_from_description) : 
+       reflect Pango API change
+
+       * gtk/gtk.def : updated externals
+
+       * gtk/gtkfixed.c (gtk_fixed_get_has_window) : use 
+       g_return_val_if_fail() to avoid 'function must return a value'
+
+       * gtk/gtkrc.c : added spaces to fix small coding style issues
+       * gtk/gtkwidget.c : ... and linebreaks. Also a static for
+       'static correctness'
+
+       * gtk/makefile.msc.in : temporary(?) disable gtk<plug|socket>
+       because they only can be build on win32 after applying my patch
+
 Wed Nov 21 22:55:37 2001  Tim Janik  <timj@gtk.org>
 
        * gtk/gtkbutton.c (gtk_button_map): raise event window afte
index a03634011cd45df24472966bf14cf815b5890054..1dd5ae1b8720ecd12eb13d1fea92fb5533658cc4 100644 (file)
@@ -31,6 +31,7 @@
 #include <pango/pangowin32.h>
 
 #include "gdkfont.h"
+#include "gdkpango.h" /* gdk_pango_context_get() */
 #include "gdkprivate-win32.h"
 
 static GHashTable *font_name_hash = NULL;
@@ -1578,7 +1579,7 @@ gdk_font_from_description (PangoFontDescription *font_desc)
   g_return_val_if_fail (font_desc != NULL, NULL);
 
   font_map = pango_win32_font_map_for_display ();
-  font = pango_font_map_load_font (font_map, font_desc);
+  font = pango_font_map_load_font (font_map, gdk_pango_context_get (), font_desc);
 
   if (font)
     {
index 08ef824b4627b83df5f91fa738fa3d5abac68594..0989149d3a2a65a0c8ace209bf82b74878baa75e 100755 (executable)
@@ -88,7 +88,9 @@ EXPORTS
        GTK_TYPE_WRAP_MODE
 
        gtk_accel_group_connect
+       gtk_accel_group_connect_by_path
        gtk_accel_group_disconnect
+       gtk_accel_group_disconnect_key
        gtk_accel_group_find
        gtk_accel_group_from_accel_closure
        gtk_accel_group_get_type
@@ -97,8 +99,7 @@ EXPORTS
        gtk_accel_group_query
        gtk_accel_group_unlock
        gtk_accel_groups_activate
-       gtk_accel_groups_disconnect_closure
-       gtk_accel_groups_from_acceleratable
+       gtk_accel_groups_from_object
        gtk_accel_label_get_accel_widget
        gtk_accel_label_get_accel_width
        gtk_accel_label_get_type
@@ -108,7 +109,6 @@ EXPORTS
        gtk_accel_label_set_accel_widget
        gtk_accel_map_add_entry
        gtk_accel_map_add_filter
-       gtk_accel_map_add_notifer
        gtk_accel_map_change_entry
        gtk_accel_map_foreach
        gtk_accel_map_foreach_unfiltered
@@ -116,7 +116,6 @@ EXPORTS
        gtk_accel_map_load_fd
        gtk_accel_map_load_scanner
        gtk_accel_map_lookup_entry
-       gtk_accel_map_remove_notifer
        gtk_accel_map_save
        gtk_accel_map_save_fd
        gtk_accelerator_get_default_mod_mask
@@ -589,10 +588,12 @@ EXPORTS
        gtk_file_selection_new
        gtk_file_selection_set_filename
        gtk_file_selection_show_fileop_buttons
+       gtk_fixed_get_has_window
        gtk_fixed_get_type
        gtk_fixed_move
        gtk_fixed_new
        gtk_fixed_put
+       gtk_fixed_set_has_window
        gtk_font_selection_dialog_get_font
        gtk_font_selection_dialog_get_font_name
        gtk_font_selection_dialog_get_preview_text
@@ -1846,6 +1847,7 @@ EXPORTS
        gtk_tree_view_column_get_max_width
        gtk_tree_view_column_get_min_width
        gtk_tree_view_column_get_reorderable
+       gtk_tree_view_column_get_resizable
        gtk_tree_view_column_get_sizing
        gtk_tree_view_column_get_sort_column_id
        gtk_tree_view_column_get_sort_indicator
@@ -1868,6 +1870,7 @@ EXPORTS
        gtk_tree_view_column_set_max_width
        gtk_tree_view_column_set_min_width
        gtk_tree_view_column_set_reorderable
+       gtk_tree_view_column_set_resizable
        gtk_tree_view_column_set_sizing
        gtk_tree_view_column_set_sort_column_id
        gtk_tree_view_column_set_sort_indicator
@@ -2020,6 +2023,7 @@ EXPORTS
        gtk_widget_intersect
        gtk_widget_is_ancestor
        gtk_widget_is_focus
+       gtk_widget_list_accel_closures
        gtk_widget_map
        gtk_widget_mnemonic_activate
        gtk_widget_modify_base
index c16aa2300f7d3927eef54868ac51207eb805e92a..4781c0f8989b26284346a9441501a979fdb4d6f6 100644 (file)
@@ -545,7 +545,7 @@ gtk_fixed_set_has_window (GtkFixed *fixed,
 gboolean
 gtk_fixed_get_has_window (GtkFixed *fixed)
 {
-  g_return_if_fail (GTK_IS_FIXED (fixed));
+  g_return_val_if_fail (GTK_IS_FIXED (fixed), FALSE);
 
   return !GTK_WIDGET_NO_WINDOW (fixed);
 }
index d60b09a848010578ea88ac4a225ee0c90d940766..efe5ddeaed9fb153c3389a5ada1ef5ab8e2a06bb 100644 (file)
@@ -343,7 +343,7 @@ gtk_rc_get_im_module_file (void)
 }
 
 gchar *
-gtk_rc_get_theme_dir(void)
+gtk_rc_get_theme_dir (void)
 {
   gchar *var, *path;
 
@@ -357,7 +357,7 @@ gtk_rc_get_theme_dir(void)
 }
 
 gchar *
-gtk_rc_get_module_dir(void)
+gtk_rc_get_module_dir (void)
 {
   return gtk_rc_make_default_dir ("engines");
 }
index bb64921cf3b269dfa7ec1c73caddc7e8bc2e68ff..dbfef6090f78cc2f159820aa296991c305e3a48c 100644 (file)
@@ -6249,7 +6249,8 @@ gtk_requisition_free (GtkRequisition *requisition)
   g_free (requisition);
 }
 
-AtkObject* gtk_widget_get_accessible (GtkWidget *widget)
+AtkObject* 
+gtk_widget_get_accessible (GtkWidget *widget)
 {
   GtkWidgetClass *klass;
 
@@ -6262,7 +6263,8 @@ AtkObject* gtk_widget_get_accessible (GtkWidget *widget)
   return klass->get_accessible (widget);
 }
 
-AtkObject* gtk_widget_real_get_accessible (GtkWidget *widget)
+static AtkObject* 
+gtk_widget_real_get_accessible (GtkWidget *widget)
 {
   AtkObject* accessible;